package com.neuedu.autosale.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import com.neuedu.autosale.entity.Emp;

@Mapper
@Repository
public interface EmpMapper extends BaseMapper<Emp>{
	/**
	 * 查询所有员工信息
	 * @return
	 */
	public List<Emp> findAll();
	
	/**
	 * 员工登录
	 * @param emp
	 * @return
	 */
	public Emp login(Emp emp);

}
